package com.wwh.memo.logic.utils

import java.time.LocalDateTime
import java.time.format.DateTimeFormatter

object Utils {
    //获取当前系统时间
    fun getDateTime() : String {
        val current = LocalDateTime.now()
        val formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss")
        val formatted = current.format(formatter)
        return formatted
    }
}